﻿using System.Security.Claims;

namespace K9Nano.LayIM.Events
{
    public class OfflineNotification : ConnectionNotification
    {
        public string Reason { get; }

        public OfflineNotification(string app, string userId, string[] roles, string connectionId, string reason) 
            : base(app, userId, roles, connectionId)
        {
            Reason = reason;
        }

        public OfflineNotification(string connectionId, ClaimsPrincipal user, LayIMOptions options, string reason) 
            : base(connectionId, user, options)
        {
            Reason = reason;
        }
    }
}